package com.ruoyi.apis.entity;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author Choi
 * @Date 2021/7/19
 */

@Entity
@Getter
@Setter
@Table(name = "lc_video")
@Where(clause = "online = 1")
public class VideoEntity {
    @Id
    private Long id;
    private String title;
    private String image;
    private String video;
    private String intro;
    private String description;
    private String images;
    private Integer sort;
    private Boolean online;

}
